package cn.kgc.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @description:
 * @author: 石浩杰
 * @date: 2022-12-13 08:34
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SearchParam {
    //查询的关键字
    private String keyword;
    private Long categoryId; //分类编号
    private String sort; //排序条件
    private boolean hasStock; //是否有库存
    private List<Long> brandId; //品牌ID
    //skuPrice=200_300 skuPrice=_300 skuPrice=200_
    private String skuPrice; //价格区间查询
    //attrs 属性编号_属性的值1;属性的值2
    private List<String> attrs; //不同的属性
    private Integer pageNum; //当前页
}
